Vcenter Datacenter FilterSpec

Vcenter Datacenter FilterSpec
Vcenter Datacenter FilterSpec

The Vcenter Datacenter FilterSpec schema contains properties used to filter the results when listing datacenters (see GET /vcenter/datacenter). If multiple properties are specified, only datacenters matching all of the properties match the filter.

JSON Example
{
    "datacenters": [
        "string"
    ],
    "names": [
        "string"
    ],
    "folders": [
        "string"
    ]
}
array of string
datacenters
Optional

Identifiers of datacenters that can match the filter.

If missing or null or empty, datacenters with any identifier match the filter.

When clients pass a value of this schema as a parameter, the property must contain identifiers for the resource type: Datacenter. When operations return a value of this schema as a response, the property will contain identifiers for the resource type: Datacenter.

array of string
names
Optional

Names that datacenters must have to match the filter (see Vcenter Datacenter Info.name).

If missing or null or empty, datacenters with any name match the filter.

array of string
folders
Optional

Folders that must contain the datacenters for the datacenter to match the filter.

If missing or null or empty, datacenters in any folder match the filter.

When clients pass a value of this schema as a parameter, the property must contain identifiers for the resource type: Folder. When operations return a value of this schema as a response, the property will contain identifiers for the resource type: Folder.